package it.free.i.virtual.machine.hal.devicealias.laboratory.positioningsystem.physics;


/**  
 * Center of mass position DTO impl
 * @author stefano
 */
public class CenterOfMassPositionImpl implements CenterOfMassPosition {

	private float x = 0;
	private float y = 0;
	private float z = 0;
	
	public CenterOfMassPositionImpl(){
		super();
	}
	
	/**
	 * @return the x
	 */
	public float getX() {
		return x;
	}
	
	/**
	 * @param x the x to set
	 */
	public void setX(float x) {
		this.x = x;
	}
	
	/**
	 * @return the y
	 */
	public float getY() {
		return y;
	}
	
	/**
	 * @param y the y to set
	 */
	public void setY(float y) {
		this.y = y;
	}
	
	/**
	 * @return the z
	 */
	public float getZ() {
		return z;
	}
	
	/**
	 * @param z the z to set
	 */
	public void setZ(float z) {
		this.z = z;
	}
	
	public String toString(){
		String centerOfMass = "x: " + x + " y: " + y + " z: " + z;
		return centerOfMass;
	}
}
